<%--
  Created by IntelliJ IDEA.
  User: ·
  Date: 2023/2/6
  Time: 15:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>修改管理员</h1>
<form method="post" action="/adminServlet?type=updAdmin">
    <%--隐藏域--%>
    <input type="hidden" name="id" value="${requestScope.admin.id}">
        <fieldset>
            <div>
                <label for="username">* 管理员账号：</label> <input type="text" id="username" name="username"/>
            </div>
            <div>
                <label for="password">* 管理员密码：</label> <input type="password" name="password" id="password"/>
            </div>
            <div>
                <label for="name">* 名字：</label> <input type="name" name="name" id="name"/>
            </div>
            <div>
                <label for="address">* 地址：</label> <input type="address" name="address" id="address"/>
            </div>
            <div>
                <label for="birthday">* 生日：</label> <input type="birthday" name="birthday" id="birthday"/>
            </div>

            <div>
                <input type="submit" value="保存"/>
                &nbsp; <a href="/adminServlet?type=findAll">返回</a>
            </div>
        </fieldset>
    <input type="submit" value="修改">
</form>
</body>
</html>
